import request from '@/utils/request'

//反馈分页列表
export function queryFeedbackPageList(data) {
	return request({
		method: 'get',
		url: 'sysFeedback/query',
		headers: {
			userButton: '499517b5940f452496b7c8d43fcb7ec6'
		},
		params: data
	})
}

//添加反馈
export function addedFeedback(data) {
	return request({
		method: 'post',
		url: 'sysFeedback/add',
		headers: {
			userButton: 'cf57330cd37e44e7937c9e892771364f'
		},
		data
	})
}

//删除反馈
export function deleteFeedback(id) {
	return request({
		method: 'get',
		url: 'sysFeedback/delete/' + id,
		headers: {
			userButton: '5bac10877dc048c0aeafb7dbfbac85be'
		},
	})
}

//反馈详情
export function feedbackDetail(id) {
	return request({
		method: 'get',
		url: 'sysFeedback/query/' + id,
		headers: {
			userButton: '85ef0f2b19ab44f48091269c76b8606a'
		},
	})
}

//反馈统计
export function feedbackStatData() {
	return request({
		method: 'get',
		url: 'sysFeedback/statFeed',
		headers: {
			userButton: 'd32d5d79b0124950b5cfef6f0614155b'
		},
	})
}